package com.xuanyue.componentim.tool;

import java.util.UUID;

public class MeTools {

    /**
     * 获取UUID
     * @return
     */
    public static String getUUID(){
        return UUID.randomUUID().toString().replace("-","").toUpperCase();
    }

    /**
     * 获取雪花ID
     * @return
     */
    public static String getSnowflakeId(){
        return SequenceTool.getId();
    }
}
